package com.zzz.gp.bean;

import lombok.Data;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/12/6 15:03
 */
@Data
public class GpHistory {
    private String code;
    private String name;
    private String open;
    private String close;
    private double closePrice;
    private String increase;
    private String increase_p;
    private String low;
    private String high;
    private String volume;
    private String money;
    private String rate;
    private String day;

    public GpHistory(String code, String name, String open, String close, String increase, String increase_p, String low, String high, String volume, String money, String rate, String day) {
        this.code = code;
        this.name = name;
        this.open = open;
        this.close = close;
        this.increase = increase;
        this.increase_p = increase_p;
        this.low = low;
        this.high = high;
        this.volume = volume;
        this.money = money;
        this.rate = rate;
        this.day = day;
    }

    public GpHistory(String code, String name, String open, String close, double closePrice, String increase, String increase_p, String low, String high, String volume, String money, String rate, String day) {
        this.code = code;
        this.name = name;
        this.open = open;
        this.close = close;
        this.closePrice = closePrice;
        this.increase = increase;
        this.increase_p = increase_p;
        this.low = low;
        this.high = high;
        this.volume = volume;
        this.money = money;
        this.rate = rate;
        this.day = day;
    }

    public GpHistory(String code, double closePrice) {
        this.code = code;
        this.closePrice = closePrice;
    }

}
